/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package dao;

import entities1.Event;
import entities1.Users;
import java.util.Date;
import java.util.List;
import javax.ejb.Local;


/**
 *
 * @author takamflore
 */
@Local
public interface EventDao {
    
    void addEvent(Event event) throws InvalidEventFormatException;
    List<Event> getAllEvent(int userID);
    void updateEvent(Event event)throws InvalidEventFormatException;
    void DeleteEvent(int eventId);
    Event checkEvent(String name);
    Event getEvent(int eventId);
    List<Event> getAllEventOfDay(Date day);
    List<Users> splitInvited(String string);
}
